package priv.pattern.templatemethod.abs.impl;

import priv.pattern.templatemethod.abs.RefreshBeverage;

/*
 * 作者：m鹏h
 * 时间；2024/8/6 22:34
 * 描述：泡茶
 **/
public class TeaImpl extends RefreshBeverage {

 @Override
 protected void brew() {
  System.out.println("用温水冲泡茶");
 }

 @Override
 protected void addCondiments() {
  System.out.println("加柠檬");
 }


 // 是否需要添加调料
 @Override
 protected boolean isCustomerWantsCondiments() {
  return false;
 }


}
